-- GENERATED SPELL FOR [Ravenous Jaws] --


function spell0_29392(pUnit, Event) --@Thrash,Self--
pUnit:FullCastSpellOnTarget(3391,pUnit)
pUnit:RegisterEvent('Sorts_29392', 604, 1)
end

function Sorts_29392(pUnit, Event)
local choix_sorts_29392 = math.random(0, 0)
if choix_sorts_29392 == 0 then
pUnit:RegisterEvent('spell0_29392', 1, 1)
end
end

function mob29392_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29392', math.random(1500, 3000), 1)
end

function mob29392_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29392_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29392_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29392, 1, 'mob29392_Action')
RegisterUnitEvent(29392, 2, 'mob29392_Leave')
RegisterUnitEvent(29392, 3, 'mob29392_Kill')
RegisterUnitEvent(29392, 4, 'mob29392_Die')
